<?php 

	$entryIncome = calculateSingleEntryAndIncome($_SESSION['id'], $_SESSION['user_MGM_id'], $_SESSION['user_key_income_list']);
	
	echo "ParentEntry = RM".($entryIncome->getParentEntry()*6)."<br/>";
	echo "ChildEntry = ".$entryIncome->getChildEntry()."<br/>";
	echo "ParentIncome = RM".($entryIncome->getParentIncome()*12)."<br/>";
	echo "ChildIncome = RM".($entryIncome->getChildIncome()*12)."<br/><br/>";
	echo "TotalCommission = RM".($entryIncome->getTotalCommission())."<br/>";
	
?>

